package ru.paswd.marketprice.data.repositories

import android.content.Context
import ru.paswd.marketprice.api.dto.ProductCategory
import ru.paswd.marketprice.listener.OnProcessListener

object ProductCategoriesRepository : Repository() {
    fun requestAll(context: Context, listener: OnProcessListener<List<ProductCategory>>) {
        super.request(context, listener) { api -> api.getCategories() }
    }
}